<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html{
            perspective: 800px;

        }
        img{
            width: 200px;
            height: 200px;
            vertical-align: bottom;
            opacity: 0.9;
        }
        .box-warper{
            /* background-color: #bfa; */
            width: 200px;
            height: 200px;
            margin: 0 auto;
            margin-top: 200px;
            position: relative;
            transform-style: preserve-3d;
            animation: turn-run 10s linear infinite;
        }
        .box-warper>div{
            position: absolute;
            width: 200px;
            height: 200px;
        }
        .box1{
            
            transform: rotateY(90deg) translateZ(100px);
        }
        .box2{
            
            transform: rotateY(-90deg) translateZ(100px);
        }
        .box3{
            
            transform: rotateX(90deg) translateZ(100px);
        }
        .box4{
            
            transform: rotateX(-90deg) translateZ(100px);
        }
        .box5{
            
            transform: rotateY(180deg) translateZ(100px);
        }
        .box6{
            
            transform:translateZ(100px);
        }
        @keyframes turn-run{
            from{
                transform: rotateX(0) rotateZ(0);
            }
            to{
                transform: rotateX(1turn) rotateZ(1turn);
            }
        }

    </style>
</head>

<body>
    <div class="box-warper">
        <div class="box1">
            <img src="./img/六面体1.jpg" alt="">
        </div>
        <div class="box2">
            <img src="./img/六面体2.jpg" alt="">
        </div>
        <div class="box3">
            <img src="./img/六面体3.jpg" alt="">
        </div>
        <div class="box4">
            <img src="./img/六面体4.jpg" alt="">
        </div>
        <div class="box5">
            <img src="./img/六面体5.jpg" alt="">
        </div>
        <div class="box6">
            <img src="./img/六面体6.jpg" alt="">
        </div>
    </div>

</body>

</html>